package com.mesSystem.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.sql.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("equipment_maintenance")
public class EquipmentMaintenance {
    @TableId(value = "equipment_maintenance_id", type = IdType.AUTO)
    /**
     * 保养表主键
     */
    private Long equipmentMaintenanceId;
    /**
     * 设备id
     */
    private Long equipmentId;
    /**
     * 保养描述
     */
    private String description;
    /**
     * 保养人
     */
    private String maintainer;
    /**
     * 保养日期
     */
    private Date maintenanceDate;
    /**
     * 保养结束日期
     */
    private Date completionDate;
}
